/*@name        Colorful About Page
  @namespace   http://www.runningcheese.com/firefox-v8
  @description 更改Firefox关于页面时的样式
  @author      runningcheese
  @version     v2016-12-28           
*/



/*=============================================about:addons附加组件栏============================================*/
@-moz-document url("about:addons") {
/*全局 #addons-page*/
	#addons-page {
		background: rgb(235,235,235) !important;
	}
	
/*左侧 #categories*/
	#categories {
		width: 200px !important;
	}
	
/*分类项样式*/
	.category {
		background: transparent !important;
		height: 55px !important;
		padding-left: 20px !important;
		cursor: pointer;
		margin-left: 30px !important;
	}


/*当前项样式*/
	.category[selected="true"] {
		background: rgb(250,250,250) !important;
		border-color: rgb(205,205,205)!important;
		border-right: none !important;
	}

	
/*隐藏项样式*/
	.category[hidden="true"],.category[disabled="true"] {
		display: none !important;
	}
	
/*最末项样式*/
	.category:last-child {
	}

	.category[selected="true"]:last-child {
	}
	
/*分类名*/
	.category-name {
		padding-left: 6px;
		font-size: 100% !important;
		display: block !important;
		color: #000;
	}

	.category-name:hover {
		color: #027cff !important;
	}

/*数字背景颜色微调*/
	.category-badge {
		background-color: rgba(0,0,0,0.25) !important;
		padding: 2px 8px;
		margin-right: 10px !important;
		color: #FFF;
		font-weight: normal !important;
	}

	
/*分类图标定义*/
	.category-icon {
		width: 36px !important;
		height: 36px !important;
		-moz-margin-start: 0px !important;
		transition-duration: 0.3s;
		transition-timing-function: ease;
	}

	.category[selected="true"] .category-icon,
.category:hover .category-icon {
		opacity: 1 !important;
	}

	.category:hover .category-icon {
		margin-left: -8px !important;
	}


/*分类排序*/
	#category-userstyle {
		-moz-box-ordinal-group: 2;
	}

	#category-greasemonkey-user-script {
		-moz-box-ordinal-group: 3;
	}

	#category-userchromejs {
		-moz-box-ordinal-group: 4;
	}

	#category-availableUpdates {
		-moz-box-ordinal-group: 5;
	}

	#category-recentUpdates {
		-moz-box-ordinal-group: 6;
	}

	#category-service {
		-moz-box-ordinal-group: 7;
	}
	
	

	
	
/*分类图标定义*/
	#category-search > .category-icon {
/*搜索附加组件*/
		list-style-image: url("chrome://userchromejs/content/images/category-search.png") !important;
	}

	#category-discover > .category-icon {
/*获取附加组件*/
		list-style-image: url("chrome://userchromejs/content/images/category-discover.png") !important;
	}

	#category-extension > .category-icon {
/*扩展*/
		list-style-image: url("chrome://userchromejs/content/images/category-extension.png") !important;
	}

	#category-greasemonkey-user-script > .category-icon {
/*用户脚本*/
		list-style-image: url("chrome://userchromejs/content/images/category-greasemonkey-user-script.png") !important;
	}

	#category-theme > .category-icon {
/*外观*/
		list-style-image: url("chrome://userchromejs/content/images/category-theme.png") !important;
	}

	#category-plugin > .category-icon {
/*插件*/
		list-style-image: url("chrome://userchromejs/content/images/category-plugin.png") !important;
	}

	#category-userstyle > .category-icon {
/*用户样式*/
		list-style-image: url("chrome://userchromejs/content/images/category-userstyle.png") !important;
	}

	#category-dictionary > .category-icon {
/*字典*/
		list-style-image: url("chrome://userchromejs/content/images/category-locale.png") !important;
	}

	#category-locale > .category-icon {
/*语言*/
		list-style-image: url("chrome://userchromejs/content/images/category-locale.png") !important;
	}

	#category-userchromejs > .category-icon {
/*uc脚本*/
		list-style-image: url("chrome://userchromejs/content/images/category-userchromejs.png") !important;
	}

	#category-service > .category-icon {
/*服务*/
		list-style-image: url("chrome://userchromejs/content/images/category-service.png") !important;
	}

	#category-availableUpdates > .category-icon {
/*可用更新*/
		list-style-image: url("chrome://userchromejs/content/images/category-availableUpdates.png") !important;
	}

	#category-recentUpdates > .category-icon {
/*最近更新*/
		list-style-image: url("chrome://userchromejs/content/images/category-recentUpdates.png") !important;
	}

	#header-utils-btn dropmarker {
		display: block !important;
	}
	
	
/*右侧 #header*/
/* 检查更新按钮和搜索框*/
	#header {
		margin-top: -16px !important;
		margin-bottom: 4px !important;
	}
/* 检查更新按钮*/
	#header-utils-btn {
		background: none !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		padding: 4px 0 !important;
		margin: 0 20px 0 0 !important;
		cursor: pointer;
	}

	.toolbarbutton-menu-dropmarker {
	}
/*搜索框*/
	textbox#header-search {
	}

/* 隐藏元素*/
	#back-btn,#forward-btn,#updates-container {
		display: none !important;
	}

	#header-search {
		background-color: #fff !important;
	}
	
/*右侧 #view-port-container*/

	#view-port-container {
		margin: 0 !important;
		padding: 0 !important;
		padding-top: 33px !important;
		border: none !important;
		border-radius: 0 !important;
	}



/*列表顶部信息栏*/
	.view-header,#update-actions {
		margin: 0 !important;
		padding: 0 !important;
		min-height: 29px !important;
		background: none !important;
		border-bottom: 1px solid rgb(204,204,204) !important;
	}
/*列表顶部信息栏按钮*/
	.view-header .addon-control {
		background: none !important;
		border: none !important;
	}
/*列表顶部信息栏排序按钮*/
	.view-header .sorter {
		margin: 0 !important;
		padding: 0 !important;
		background: none !important;
		color: rgb(66, 66, 66) !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		border-left: 1px solid rgb(204,204,204) !important;
		cursor: pointer;
	}

	.view-header .sorter .box-inherit.button-box {
		padding: 4px 9px !important;
	}

	.view-header .sorter[checkState="2"] {
		background: rgb(242,242,242) !important;
	}

/*文字修改*/
	.name-container {
		font-weight: normal!important;
		font-family: Microsoft YaHei!important;
		color: #000 !important;
	}

	.name-container>.disabled-postfix {
		color: #999 !important;
	}		  
	
	
/*========列表 .list========*/
/*紧凑列表*/
	#search-list *, #addon-list *, #updates-list * {
		border: none !important;
		box-shadow: none !important;
		text-shadow: none !important;
		-moz-transition: none !important;
	}
/*列表所有项目放到同一行*/
	#view-port .addon.addon-view {
		margin: 0 !important;
		padding: 2px 12px !important;
		border-bottom: 1px transparent solid !important;
		position: relative !important;
	}

	#view-port .addon.addon-view * {
		font-size: 100% !important;
		margin-right: 0 !important;
		white-space: nowrap !important;
	}

	#view-port .addon.addon-view .content-inner-container,
#view-port .addon.addon-view .description-outer-container {
		-moz-box-orient: vertical !important;
		-moz-box-align: start !important;
	}

	#view-port .addon.addon-view .status-control-wrapper * {
		-moz-box-orient: horizontal !important;
		-moz-box-align: center !important;
	}

	#view-port .addon.addon-view .basicinfo-container {
		padding-top: 2px !important;
	}

	#view-port .addon.addon-view .description-outer-container {
		margin-top: 8px !important;
		margin-bottom: 8px !important;
	}

	.addon.addon-view .status-control-wrapper {
/*列表按钮*/
		position: absolute !important;
		right: 12px;
		top: 1px;
	}
/*列表图标大小*/
	#view-port .icon-container,#view-port .icon {
		height: 16px !important;
		width: 16px !important;
	}

	#detail-icon {
		min-height: 32px;
		min-width: 32px;
	}

	#detail-icon-container {
		min-height: 32px !important;
	}

/*列表各元素间距*/
	#view-port .icon-container,#view-port .description {
		margin-left: 0px !important;
	}

	#view-port :-moz-any(.name,.version,.disabled-postfix,.update-postfix,.date-updated,.details.buttton-link,.relnotes-toggle),#view-port .relnotes-container > *,#view-port .status-container label {
		margin-left: 6px !important;
	}
/*列表按钮全局*/
	#view-port .list button,#view-port .list menulist,#view-port #detail-view button {
		margin: 2px 0px !important;
		margin-left: -1px !important;
		padding: 0 !important;
		background: none !important;
		color: rgb(66, 66, 66) !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		border: 1px solid rgb(204,204,204) !important;
		height: 20px !important;
		cursor: pointer;
	}
/*隐藏更多*/
	#list-view .details.button-link {
		display: none !important;
	}

/*隐藏描述信息*/
	.addon.addon-view .description-outer-container {
		display: none !important;
	}
/*显示描述信息*/
	.addon.addon-view[selected] .description-outer-container {
/*选中*/
		display: -moz-box !important;
	}

	.addon.addon-view[pending] .pending {
/*禁用*/
		margin-left: 0 !important;
	}

	.addon.addon-view[selected][pending] .pending {
/*选中并禁用*/
		margin-left: -1px !important;
	}

	.addon.addon-view[pending] .description-outer-container {
/*禁用*/
		display: none !important;
	}

/*选项背景*/
	#view-port .addon {
		background: #fff !important;
	}
/*悬停项背景*/
	#view-port .addon:hover {
		background: #d8f4e5 !important;
	}
/*禁用项背景*/
	.addon.addon-view[active="false"]:not([notification="warning"] ) {
		background: rgb(255,255,255) !important
	}
/*不兼容项背景*/
	richlistitem[notification="warning"] {
		background-image: url("chrome://mozapps/skin/extensions/stripes-warning.png"), -moz-linear-gradient(rgba(255, 255, 0, 0.04), transparent);
	}
/*选中项背景*/
	#view-port .addon[selected] {
		background-color: #d8f4e5!important;
	}

/*========扩展、外观、插件等列表面板#list-view========*/
/*按钮样式*/
	#list-view .control-container button,#list-view .addon-control.update {
		margin: 0 !important;
		margin-left: 16px !important;
		background-repeat: no-repeat !important;
		background-position: left center !important;
		border: none !important;
		height: 24px !important;
		min-width: 16px !important;
		cursor: pointer;
	}

	#list-view .addon-control.update .button-text,#list-view .control-container .button-text {
/*隐藏按钮文字*/
		visibility: hidden !important;
		width: 0 !important;
	}
/*立即更新按钮样式*/
	#list-view .list button[class="addon-control update"] {
		padding-left: 10px !important;
		background-image: url("chrome://userchromejs/content/images/icons/addon-update.png") !important;
	}
/*编辑按钮样式*/
	#list-view .list button[class="addon-control"] {
		background-image: url("chrome://userchromejs/content/images/icons/addon-edit.png") !important;
	}
/*选项按钮样式*/
	#list-view .list button[class="addon-control preferences"] {
		margin-right: 3px !important;
		background-image: url("chrome://userchromejs/content/images/icons/addon-preferences.png") !important;
	}
/*启用按钮样式*/
	#list-view .list button[class="addon-control enable"] {
		background-image: url("chrome://userchromejs/content/images/icons/addon-enable.png") !important;
		width: 40px !important;
		min-width: 40px !important;
	}
/*禁用按钮样式*/
	#list-view .list button[class="addon-control disable"] {
		background-image: url("chrome://userchromejs/content/images/icons/addon-disable.png") !important;
		width: 40px !important;
		min-width: 40px !important;
	}
/*移除按钮样式*/
	#list-view .list button[class="addon-control remove"] {
		background-image: url("chrome://userchromejs/content/images/icons/addon-remove.png") !important;
		min-width: 22px !important;
	}

	#list-view .list button[class="addon-control remove"]:not(:active):hover {
		background-image: url("chrome://userchromejs/content/images/icons/addon-remove2.png") !important;
		transform: translate(0, -1px) !important;
	}

	#list-view button[class="addon-control remove"]:active:hover {
	}
/*总是激活|总是禁用按钮样式*/
	#list-view .addon-control.state {
	}

/*========详细面板#detail-view========*/
/*详细面板按钮样式*/
	#detail-view #detail-controls button {
	}

/*========更新面板#updates-view========*/
/*安装选中的更新&立即更新*/
	#updates-view #update-selected-btn {
		background: none !important;
		color: rgb(66, 66, 66) !important;
		border: none !important;
		border-radius: 0 !important;
		border: 1px solid rgb(204,204,204) !important;
	}


/*隐藏兼容检查警告*/
	.view-header.global-warning-container,.global-warning-container.global-warning,.addon.addon-view .warning {
		display: none!important;
	}
/*隐藏作者*/
	#search-list .creator,#addon-list .creator,#updates-list .creator {
		display: none !important;
	}
/*进度条*/
	.download-progress {
		background-image: none !important;
	}

	.progress-bar {
		-moz-appearance: none !important;
		background: -moz-repeating-linear-gradient(0 -45deg,#48A 0px,#89F 5px,#FAFAFA 5px,#FAFAFA 10px) !important;
	}

	.progress-remainder {
		-moz-appearance: none !important;
		background: #FFF !important;
	}

	progressmeter {
		-moz-appearance: none !important;
		border: 1px solid #99B !important;
		box-shadow: 0 0 4px -1px #49F;
	}
/*隐藏底部信息*/
	#userstyle-footer {
		display: none !important;
	}
/*隐藏水平滚动条*/
	#view-port-container #view-port scrollbox {
		overflow-x: hidden!important
	}
	

/* 显示ID*/
/*.addon[selected="true"]::after {
    content: " ID : " attr(value) !important;
    margin-left: 30px !important;
    color: red !important;
    cursor: default;}*/


/*当前选择项显示描述信息*/
	.addon.addon-view[selected="true"] .description-container {
		display: -moz-box !important;
		position: absolute !important;
		left: 27px;
		bottom: 6px;
		color: grey;
		width: 750px;
	}

	.addon.addon-view[selected="true"] {
		height: 45px !important;
		position: relative !important;
	}

	.addon.addon-view[selected="true"][active="true"][pending="upgrade"]  .description-container {
		display: none !important;
	}

/*背景图案 - 隔行换色显示*/
	#addon-list > richlistitem:nth-child(even) {
		background: rgba(248,248,248,1)!important;
	}
	
/*隐藏附加组件管理器里的"语言"选项*/
	#category-locale {
		display: none!important
	}
	
/*隐藏附加组件管理器里的"显示发行说明"选项*/
	.relnotes-toggle {
		opacity: 0 !important;
	}
	
/*拓展版本信息*/
	.name-container .version {
		color: orange !important;
	}
	
/*修复Firefox40出现的问题*/
	.main-content {
		border: none !important;
	}

	#greasemonkey-sort-bar .text-link {
		padding-top: 4px !important;
	}
}



/*侧边栏样式*/
@media all and (max-width: 40em) {
 
	#addons-page:not(.inSidebar) #categories {
		width: 55px !important;
		transition: 0.5s !important;
		margin-left: -18px !important;
	}

	#addons-page:not(.inSidebar) #categories:not(:hover) {
		margin-left: -65px !important;
	}

	#addons-page:not(.inSidebar) .category {
		padding-left: 8px !important;
		margin-left: 0px !important;
	}

	#addons-page:not(.inSidebar) .category[selected="true"] {
		border: none !important;
		border-radius: 0px !important;
		background-color: #ebebeb !important;
	}

	#addons-page:not(.inSidebar) .category:hover .category-icon {
		margin-left: -4px !important;
	}

	#addons-page:not(.inSidebar) .category .category-name {
		display: none !important;
	}

	#addons-page:not(.inSidebar) #header {
		display: none !important;
	}

	#addons-page:not(.inSidebar) #list-view {
		padding-top: 0px !important;
	}

	#addons-page:not(.inSidebar) .addon:not([selected]) :-moz-any(.description-outer-container,.control-container,.addon-control.update,.include-update) {
		visibility: collapse !important;
	}

	#addons-page:not(.inSidebar) #userstyle-sorting,
#addons-page:not(.inSidebar) #greasemonkey-sort-bar,
#addons-page:not(.inSidebar) .view-header {
		display: none !important;
	}

	#addons-page:not(.inSidebar) .addon.addon-view[selected="true"] .description-container {
		width: 200px;
	}
}




/*============================================about:preferences选项页面===========================================*/
@-moz-document url-prefix("about:preferences") {
	page {
		font-size: 10px!important;
	}

	#categories {
		width: 170px;
		margin-left: 34px;
	}

	#categories .category-name {
		font-size: 12px;
		color: #000;
		padding-left: 10px;
	}

	#categories .category-icon {
		margin-left: 15px;
	}

	#categories richlistitem {
		height: 55px;
	}

/*分类图标定义*/
	.category-icon {
		width: 36px !important;
		height: 36px !important;
		transition-duration: 0.3s;
		transition-timing-function: ease;
	}

	.category:hover .category-icon {
		margin-left: 8px !important;
	}

	#mainPrefPane {
		padding: 15px;
	}

	stack {
		background: #ebebeb!important;
	}    


/*分类图标定义*/
	#category-general > .category-icon {
/*常规*/
		list-style-image: url("chrome://userchromejs/content/images/category-general.png") !important;
	}

	#category-search > .category-icon {
/*搜索*/
		list-style-image: url("chrome://userchromejs/content/images/category-search.png") !important;
	}

	#category-content > .category-icon {
/*内容*/
		list-style-image: url("chrome://userchromejs/content/images/category-content.png") !important;
	}

	#category-application > .category-icon {
/*应用程序*/
		list-style-image: url("chrome://userchromejs/content/images/category-application.png") !important;
	}

	#category-privacy > .category-icon {
/*隐私*/
		list-style-image: url("chrome://userchromejs/content/images/category-privacy.png") !important;
	}

	#category-security > .category-icon {
/*安全*/
		list-style-image: url("chrome://userchromejs/content/images/category-security.png") !important;
	}

	#category-sync > .category-icon {
/*同步*/
		list-style-image: url("chrome://userchromejs/content/images/category-sync.png") !important;
	}

	#category-advanced > .category-icon {
/*高级*/
		list-style-image: url("chrome://userchromejs/content/images/category-advanced.png") !important;
	}
}







/*=============================================about:about关于页面============================================*/
@-moz-document  
  url-prefix("about:blocked"),
  url-prefix("about:buildconfig"),
  url-prefix("about:cache"),
  url-prefix("about:certerror"),
  url-prefix("about:crashes"),
  url-prefix("about:credits"),
  url-prefix("about:license"),
  url-prefix("about:licence"),
  url-prefix("about:neterror"),
  url-prefix("about:plugins"),
  url-prefix("about:privatebrowsing"),
  url-prefix("about:rights"),
  url-prefix("about:sessionrestore"),  
  url-prefix("about:nightly"),  
  url-prefix("about:about"),  
  url-prefix("about:memory"),
  url-prefix("about:support") {
/* Standard Font */
	body, button, th, td {
		font-family: "Segoe UI", Verdana, Helvetica, Arial, 'DejaVu Sans', sans-serif !important;
	}
/* Monospace fonts */
	pre, code, tt {
		font-family: Consolas, 'DejaVu Sans Mono', 'BitstreamVera Sans Mono', Monaco, 'Courier New', monospace !important;
	}

	html {
		background-position: 0 0 !important;
		background-repeat: repeat-x !important;
		background-color: #e9eaef !important;
		min-height: 100% !important;
		height: 100%;
		min-width: 100% !important;
		width: 100%;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body {
		font-size: 10pt !important;
/*font-size-adjust: 0.5 !important;*/
		background-image: none !important;
		background-position: 0 0 !important;
		background-repeat: no-repeat !important;
		background-color: transparent !important;
		margin: 0 !important;
		padding: 80px !important;
		border: 0px !important;
		color: #575757 !important;
		border-radius: 0px !important;
		max-width: none !important;
	}

	hr {
		margin: 2em 0 1.5em !important;
		height: 0px !important;
		border: 0px solid !important;
		background-color: #d7d9df !important;
		border-top: 1px solid #dfe1e6 !important;
		border-bottom: 1px solid #d7d9df !important;
		border-radius: 25% 25% 50% 50%  / 1px !important;
	}

	ul, ol {
		list-style-position: outside !important;
		margin-top: 1px !important;
		margin-bottom: 1px !important;
	}

	h1, h2, h3, h2.plugname {
		font-weight: normal !important;
		margin: 0px 0px 0px 0px !important;
	}

	h1 {
		color: #737980 !important;
		font-size: 2.5em !important;
		font-weight: lighter !important;
		vertical-align: bottom !important;
		border-bottom: 4px !important;
		text-align: left !important;
	}

	h2, h2.plugname {
		color: #4465A2 !important;
		font-size: 140% !important;
	}

	a, a:link, a:visited, a:active, a:hover {
		color: #1370AB !important;
		font-weight: normal !important;
		text-decoration: none !important;
		vertical-align: top !important;
	}

	a:hover {
		color: #074AE5 !important;
		text-decoration: underline !important;
	}

	#errorPageContainer {
		border-radius: 0 !important;
		-moz-padding-start: 0 !important;
		background-color: transparent !important;
		position: static !important;
		margin: 0 !important;
		border: 0 !important;
		padding: 0 !important;
	}

	#errorLongContent {
		-moz-margin-start: 0px !important;
	}

	#errorTitle {
		margin-bottom: 20px !important;
	}

	#errorShortDesc > p {
		border-bottom: 0px solid !important;
	}

	#ignoreWarning {
		-moz-margin-start: 0px !important;
		text-align: left !important;
	}

	#whatShouldIDoContent,#technicalContent,#expertContent {
		margin-bottom: 26px !important;
		-moz-margin-start: 0px !important;
	}

	#getMeOutOfHereButton,
#getMeOutButton,
#exceptionDialogButton,
#reportButton,
#ignoreWarningButton {
		border: 0px solid !important;
		font-weight: normal !important;
		text-decoration: none !important;
		-moz-appearance: none !important;
		background-position: 0 center !important;
		background-repeat: no-repeat !important;
		background-color: transparent !important;
		background-image: none !important;
		cursor: pointer;
	}

	#getMeOutOfHereButton,
#getMeOutButton {
		color: #549c00 !important;
		font-size: 145% !important;
		padding-left: 0px !important;
	}

	#exceptionDialogButton,
#ignoreWarningButton {
		color: #9b4200 !important;
		font-size: 100% !important;
		padding-left: 18px !important;
	}

	#reportButton {
		color: #1370AB !important;
		font-size: 145% !important;
		padding-left: 25px !important;
	}

	#ignoreWarningButton {
		position: static !important;
		top: auto !important;
		left: auto !important;
		margin: 36px 5px 0 8px !important;
	}

	#getMeOutOfHereButton:hover,
#getMeOutButton:hover,
#exceptionDialogButton:hover,
#reportButton:hover,
#ignoreWarningButton:hover {
		text-decoration: underline !important;
	}
}

/*about:privatebrowsing*/
@-moz-document url("about:privatebrowsing") {
	#errorPageContainer {
	}
}

/* Informative pages (blue) */
@-moz-document  url-prefix("about:buildconfig"),
url-prefix("about:cache"),
url-prefix("about:crashes"),
url-prefix("about:credits"),
url-prefix("about:license"),
url-prefix("about:licence"),
url-prefix("about:plugins"),
url-prefix("about:rights"),
url-prefix("about:support") {

	html {
		background-image: linear-gradient(#fff, #ededed 100px);
	}

	body {
		padding-top: 0px !important;
		padding-left: 40px !important;
		padding-right: 40px !important;
		background-position: 0 0 !important;
	}

	h1 {
		text-shadow: none !important;
		color: #D8E2F4 !important;
		font-size: 400% !important;
		font-weight: normal !important;
		vertical-align: bottom !important;
		border-bottom: 0px !important;
		text-align: left !important;
		margin: 0 0 0 -30px !important;
		padding: 0 !important;
		position: relative !important;
		text-transform: lowercase !important;
	}
}

/* about:buildconfig */
@-moz-document url("about:buildconfig") {
	body > h1 + p {
		margin: 0 !important;
		padding: 0 !important;
	}
}

/* about:plugins */
@-moz-document url("about:plugins"),
 url("about:support") {

	div#outside {
		margin-left: 0 !important;
		margin-right: 0 !important;
		text-align: left !important;
		width: auto !important;
	}

	div#outside > dl,
div#outside > dl > dd {
		margin: 0 !important;
		padding: 0 !important;
	}

	div#outside > dl > dd > span.label {
		display: none;
	}

	div#outside > dl > dd:first-child {
		font-weight: bold !important;
	}

	table, th, td {
		border: 0 !important;
	}

	table {
		margin: 2px 0px !important;
		-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow !important;
		-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow !important;
		-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow !important;
		-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow !important;
		background-color: -moz-Field !important;
		color: -moz-FieldText !important;
		-moz-appearance: listbox !important;
		-moz-box-orient: vertical !important;
		border-spacing: 0px !important;
		padding: 0 !important;
		border: 2px solid !important;
		border-left: 1px solid !important;
		border-top: 1px solid !important;
	}

	table > thead > tr > th,
table > thead > tr > th:hover,
table > thead > tr > th:active,
table > thead > th {
		font-weight: normal !important;
		-moz-appearance: treeheadercell !important;
		-moz-box-align: center !important;
		-moz-box-pack: center !important;
		border: 2px solid -moz-use-text-color !important;
		-moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important;
		-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important;
		-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important;
		-moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important;
		background-color: -moz-Dialog !important;
		color: -moz-DialogText !important;
		padding: 2px 4px 3px !important;
		text-align: left !important;
		margin: 0 !important;
	}

	table > tbody > tr > th {
		background-color: -moz-Dialog !important;
		color: -moz-DialogText !important;
	}

	table > tbody > tr > td {
		padding: 2px 2px 2px 2px !important;
		border: 0 !important;
	}

	th.enabled {
		width: 10%;
	}

	th + th, td + td {
		-moz-border-start: 0px dotted threedshadow !important;
	}
}

/* about:cache */
@-moz-document url-prefix("about:cache") {
	body:not(#firebugBody) > div:first-child::before {
		content: "about:cache" !important;
		text-shadow: none !important;
		color: #D8E2F4 !important;
		font-size: 400% !important;
		font-weight: normal !important;
		vertical-align: bottom !important;
		border-bottom: 0px !important;
		text-align: left !important;
		margin: 0 0 0 -30px !important;
		padding: 0 !important;
		position: relative !important;
		text-transform: lowercase !important;
	}

	h2 {
		margin-top: 16px !important;
	}

	body > div > br {
		display: none !important;
	}

	body > div > table {
		margin: 0 8px 16px !important;
		padding: 0 !important;
		border-collapse: collapse;
	}

	body > div > table > tbody > tr > td {
		padding: 1px 0 !important;
		vertical-align: top !important;
	}

	body > div > table > tbody > tr > td > b {
		padding-right: 22px !important;
		font-weight: normal;
		white-space: nowrap !important;
	}

	body > div > pre > b {
		font-weight: normal;
		color: #575757 !important;
	}

	body > div > pre,
body > div > table > tbody > tr > td > tt {
		color: #000 !important;
	}

	a[href="about:cache?device=memory"], a[href="about:cache?device=disk"], a[href="about:cache?device=offline"] {
		text-decoration: none !important;
		-moz-appearance: none !important;
		background-position: 0 0 !important;
		background-repeat: no-repeat !important;
		background-color: transparent !important;
		cursor: pointer;
		padding-left: 30px !important;
		font-size: 135% !important;
		font-weight: normal !important;
		line-height: 1.5em !important;
		border: 0px solid transparent;
	}

	a[href="about:cache?device=memory"] {
		background-position: 2px 0px !important;
		background-image: url("") !important;
	}

	a[href="about:cache?device=disk"] {
		background-position: 0px -1px !important;
	}

	a[href="about:cache?device=offline"] {
		background-position: 0px -3px !important;
	}

	a[href="about:cache?device=memory"]:hover,
a[href="about:cache?device=disk"]:hover,
a[href="about:cache?device=offline"]:hover {
		text-decoration: underline !important;
	}
}

/** about:crashes */
@-moz-document url-prefix("about:crashes") {
	body > button.clear-reports {
		border: 0px solid !important;
		font-weight: normal !important;
		text-decoration: none !important;
		-moz-appearance: none !important;
		font-family: inherit !important;
		background-position: 0 center !important;
		background-repeat: no-repeat !important;
		background-color: transparent !important;
		background-image: none !important;
		cursor: pointer;
		color: #000 !important;
		font-size: 100% !important;
		padding-left: 18px !important;
	}
}

/*Warning pages (yellow) */
@-moz-document  url-prefix("about:neterror"),
url("about:sessionrestore") {

	html {
		background-image: linear-gradient(#fff, #ededed 100px);
	}

	treecols {
		margin-top: 1px !important;
	}
}

/* Error pages (red) */
@-moz-document  url-prefix("about:blocked"),
url-prefix(about:certerror) {

	html {
		background-color: #E9EAEF !important;
	}

	h1 {
		color: #772222 !important;
	}

	#errorPageContainer {
		background-position: 0 3px !important;
	}

	#technicalContent > h2,
#expertContent > h2 {
	}

	#technicalContent[collapsed] > h2,
#expertContent[collapsed] > h2 {
	}

	.blacklist:root #errorTitle,.blacklist:root #errorLongContent,.blacklist:root #errorShortDesc,.blacklist:root #errorLongDesc,.blacklist:root a {
		background-color: transparent !important;
		color: inherit !important;
	}
}



/*恢复会话调整*/
@-moz-document url("about:sessionrestore") {
	.title-text {
		font-size: 36px!important;
	}
}



/*=====================================样式编辑器样式=====================================*/ 

@-moz-document url-prefix(chrome://stylish/content/edit.xul) {
 
	#editortools {
		margin: 0px 0px -4px 0px!important;
		position: relative;
		z-index: 1
	}

	.dialog-button-box {
		padding-left: 220px!important;
		margin-top: -4px !important
	}

	#stylish {
		padding: 0 !important
	}


/* ---------- Remove Line above top button row -------- */

	#editor-tools {
		border-top: 0px !important;
	}
/* ---------- Show Update-URL  ------------------------ */
	#update-url {
		display: block !important;
		height: 21px !important;
		margin-bottom: -30px !important;
		margin-left: 200px !important;
	}

	#update-url > hbox {
		width: 80% !important;
		margin-left: 6px !important;
	}

	#update-url:before {
		content: "URL: ";
		font-weight: bold !important;
		color: #444444 !important;
	}
		

/********************** "NAME" & "TAGS" TEXTBOXES *********************/

/* Put them on one line */
	#stylish > vbox > grid > rows {
		-moz-box-orient: horizontal !important;
		-moz-box-flex: 1 !important;
	}

	#stylish > vbox > grid {
		display: -moz-box !important;
		margin-top: 3px !important;
	}


/* "Name" textbox - Width */
	#stylish > vbox > grid > rows > row:first-child {
		-moz-box-flex: 3 !important;
		min-width: 200px !important;
	}

/* "Tags" textbox - Width */
	#stylish > vbox > grid > rows > row:last-child {
		-moz-box-flex: 1 !important;
	}

/* Remove the labels */
	#stylish #editor-tools {
		height: 21px;
	}

	#stylish #editor-tools menupopup label {
		display: -moz-box;
		margin-right: 10px !important;
	}

	#wrap-lines {
		display: block !important;
		position: relative;
		z-index: 1;
	}
}


/******************************* FINDBAR ******************************/


/* Move it down to the same line as the bottom buttons */
#stylish #findbar {
	position: fixed !important;
	bottom: 1px !important;
	overflow: hidden !important;
}


/* Remove text */
#stylish #findbar .findbar-closebutton,
#stylish #findbar .findbar-highlight,
#stylish #findbar .findbar-case-sensitive {
	display: none !important;
}


/* Fix some margins */
#stylish #findbar toolbarbutton image {
	margin: 0 !important;
}

#stylish #findbar .find-status-icon {
	margin: 0 !important;
	margin-left: 5px !important;
}


/* Remove background */
#stylish #findbar {
	background: none !important;
}

div.cm-s-mozilla {
	background: #272822 !important;
	color: #f8f8f2 !important;
}

.cm-s-mozilla div.CodeMirror-selected,
.cm-s-mozilla.CodeMirror-focused div.CodeMirror-selected {
	background: #49483E !important;
}

.cm-s-mozilla .CodeMirror-gutter {
	background: #272822 !important;
	border-right: 0px !important;
}

.cm-s-mozilla div.CodeMirror-linenumber {
	color: #d0d0d0 !important;
}

.cm-s-mozilla  .CodeMirror-lines div.CodeMirror-cursor {
	border-left: 1px solid #f8f8f0 !important;
}

.cm-s-mozilla span.cm-comment {
	color: #75715e !important;
}

.cm-s-mozilla span.cm-atom {
	color: #ae81ff !important;
}

.cm-s-mozilla span.cm-number {
	color: #ae81ff !important;
}

.cm-s-mozilla span.cm-property,
.cm-s-mozilla span.cm-attribute {
	color: #a6e22e !important;
}

.cm-s-mozilla span.cm-keyword {
	color: #f92672 !important;
}

.cm-s-mozilla span.cm-string {
	color: #e6db74 !important;
}

.cm-s-mozilla span.cm-variable {
	color: #a6e22e !important;
}

.cm-s-mozilla span.cm-variable-2 {
	color: #9effff !important;
}

.cm-s-mozilla span.cm-variable-3 {
	color: #faded3 !important;
}

.cm-s-mozilla span.cm-def {
	color: #fd971f !important;
}

.-cm-s-mozilla span.cm-error {
	background: #f92672 !important;
	color: #f8f8f0 !important;
}

.cm-s-mozilla span.cm-bracket {
	color: #f8f8f2 !important;
}

.cm-s-mozilla span.cm-tag,
.cm-s-mozilla span.cm-property.cm-error {
	color: #f92672 !important;
}

.cm-s-mozilla span.cm-link {
	color: #ae81ff !important;
}

.cm-s-mozilla pre:not(hing) {
	color: inherit !important;
}

.cm-s-mozilla span.cm-qualifier {
	color: #9effff !important;
}

.cm-s-mozilla span.cm-operator {
	color: inherit !important;
}

.cm-s-mozilla span.cm-builtin, .cm-s-mozilla span[class="cm-error"] {
/**/
	color: inherit !important;
}

.cm-s-mozilla.CodeMirror .CodeMirror-matchingbracket {
	text-decoration: underline !important;
	color: white !important;
}

.cm-s-mozilla div.CodeMirror-activeline-background {
	background-color: black !important;
}




/*--CodeMirror "Monokai" [Stylish editor]--*/
@-moz-document regexp("data:text/html.*rel='stylesheet'%20href='chrome://browser/content/devtools/codemirror/codemirror.css'.*") {

	div.cm-s-mozilla {
		background: #272822 !important;
		color: #f8f8f2 !important;
	}

	.cm-s-mozilla div.CodeMirror-selected,
.cm-s-mozilla.CodeMirror-focused div.CodeMirror-selected {
		background: #49483E !important;
	}

	.cm-s-mozilla .CodeMirror-gutter {
		background: #272822 !important;
		border-right: 0px !important;
	}

	.cm-s-mozilla div.CodeMirror-linenumber {
		color: #d0d0d0 !important;
	}

	.cm-s-mozilla  .CodeMirror-lines div.CodeMirror-cursor {
		border-left: 1px solid #f8f8f0 !important;
	}

	.cm-s-mozilla span.cm-comment {
		color: #75715e !important;
	}

	.cm-s-mozilla span.cm-atom {
		color: #ae81ff !important;
	}

	.cm-s-mozilla span.cm-number {
		color: #ae81ff !important;
	}

	.cm-s-mozilla span.cm-property,
.cm-s-mozilla span.cm-attribute {
		color: #a6e22e !important;
	}

	.cm-s-mozilla span.cm-keyword {
		color: #f92672 !important;
	}

	.cm-s-mozilla span.cm-string {
		color: #e6db74 !important;
	}

	.cm-s-mozilla span.cm-variable {
		color: #a6e22e !important;
	}

	.cm-s-mozilla span.cm-variable-2 {
		color: #9effff !important;
	}

	.cm-s-mozilla span.cm-variable-3 {
		color: #faded3 !important;
	}

	.cm-s-mozilla span.cm-def {
		color: #fd971f !important;
	}

	.-cm-s-mozilla span.cm-error {
		background: #f92672 !important;
		color: #f8f8f0 !important;
	}

	.cm-s-mozilla span.cm-bracket {
		color: #f8f8f2 !important;
	}

	.cm-s-mozilla span.cm-tag,
.cm-s-mozilla span.cm-property.cm-error {
		color: #f92672 !important;
	}

	.cm-s-mozilla span.cm-link {
		color: #ae81ff !important;
	}

	.cm-s-mozilla pre:not(hing) {
		color: inherit !important;
	}

	.cm-s-mozilla span.cm-qualifier {
		color: #9effff !important;
	}

	.cm-s-mozilla span.cm-operator {
		color: inherit !important;
	}

	.cm-s-mozilla span.cm-builtin, .cm-s-mozilla span[class="cm-error"] {
/**/
		color: inherit !important;
	}

	.cm-s-mozilla.CodeMirror .CodeMirror-matchingbracket {
		text-decoration: underline !important;
		color: white !important;
	}

	.cm-s-mozilla div.CodeMirror-activeline-background {
		background-color: black !important;
	}

}

/*查找栏位置设置*/
	@-moz-document url-prefix("about:stylish-edit"), url-prefix("data:text/html") {
  #findbar {
    position: fixed !important;
    top: 42px !important;
    left: 415px !important;
    box-shadow: none !important;
    background-image: none !important;
  }
	.theme-toolbar{
		padding:0px  !important;
		}
  .findbar-container {
    padding: 0 !important;
  }
		}


/*=====================================源代码样式=====================================*/ 


@-moz-document url-prefix(view-source:){

*|*:root {
	background: #272822 !important;
}
*::-moz-selection {
	background-color:#49483E;
}
body {
	font: 12px Monaco, -moz-fixed !important;
	margin: 0;
	padding: 0.6em 1em;
	color: #FCFFE0 !important;
}
.doctype, .start-tag, .end-tag {
color: #06cfcf !important;
}
.attribute-name {
color: #a0a0f0 !important;
font-weight: normal !important;
}
.attribute-value {
color: white !important;
}
.comment, .cdata, .pi {
color: green !important;
}
.error, .error > .start-tag, .error > .end-tag,
.error > .comment, .error > .cdata, .error > .doctype,
.error > .pi, .error > .entity, .error > .attribute-name,
.error > .attribute-value {
color: red !important;
background: #fff !important;
font-weight: bold !important;
}
a:link {
color: #8fa3ff !important;
}
	
}


/*=====================================阅读模式样式=====================================*/ 

@-moz-document url-prefix("about:reader") {
/*阅读页面文字颜色及背景颜色*/
body.light {
  color: #333333;
  background-color: #F3F2EE;/*亮色主题*/
}
body.dark {
  color: #CECECE; 
  background-color: #1A1A1A;/*暗色主题*/
}
body.sepia {
  color: #5B4636;
  background-color: #FAF9DE;/*深褐色主题*/
}  
/*
银河白    #FFFFFF;
杏仁黄    #FAF9DE;
秋叶褐    #FFF2E2; 
胭脂红    #FDE6E0; 
青草绿    #E3EDCD;
海天蓝    #DCE2F1;
葛巾紫    #E9EBFE;
极光灰    #EAEAEF;  
*/

/*引用栏*/
body.light blockquote {
    -moz-border-start: 3px solid #BABABA !important;
}
/*页面设置*/
#container {
  max-width: 40em;/*页面宽度*/
  text-align: justify;/*两端对齐*/
}

/*去除标签下横线*/
#reader-domain,#pocket-button{
	border:none !important;
}
}
